]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
aggregateMenu: Move remote-access indicator to the front
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 14 Sep 2020 14:58:53 +0000 (16:58 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 14 Sep 2020 15:13:27 +0000 (17:13 +0200)
It's best to not mix transient indicators with (probably) permanently
visible items, so move the remote-access indicator (which also handles
screencasts now) to the position of the old screen recorder icon.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1438

js/ui/panel.js

index 4761903f3822a0eb2cbcbdceee566e71262009d9..b168907def8421a3c4df2261a6fb1c12107ff84f 100644 (file)
@@ -740,6 +740,7 @@ class AggregateMenu extends PanelMenu.Button {
         this._nightLight = new imports.ui.status.nightLight.Indicator();
         this._thunderbolt = new imports.ui.status.thunderbolt.Indicator();
 
+        this._indicators.add_child(this._remoteAccess);
         this._indicators.add_child(this._thunderbolt);
         this._indicators.add_child(this._location);
         this._indicators.add_child(this._nightLight);
@@ -747,7 +748,6 @@ class AggregateMenu extends PanelMenu.Button {
             this._indicators.add_child(this._network);
         if (this._bluetooth)
             this._indicators.add_child(this._bluetooth);
-        this._indicators.add_child(this._remoteAccess);
         this._indicators.add_child(this._rfkill);
         this._indicators.add_child(this._volume);
         this._indicators.add_child(this._power);